package cn.iocoder.yudao.module.blog.controller.admin.casecomment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 案例评论 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class BlogCaseCommentBaseVO {

    @Schema(description = "会员编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "928")
    @NotNull(message = "会员编号不能为空")
    private Long memberId;

    @Schema(description = "动态编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "24169")
    @NotNull(message = "动态编号不能为空")
    private Long caseId;

    @Schema(description = "评论", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "评论不能为空")
    private String content;

    @Schema(description = "主评论id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2722")
    @NotNull(message = "主评论id不能为空")
    private Long mainCommentId;

    @Schema(description = "回复评论", requiredMode = Schema.RequiredMode.REQUIRED, example = "31815")
    @NotNull(message = "回复评论不能为空")
    private Long respondCommentId;

}
